<table>
    <thead>
       <tr>
         <th>Icon</th>
         <th>Item</th>
         <th>Winner</th>
         <th>Event</th>
       </tr>
    </thead>
    <tbody>
    <%  item_drops.each do |d|  %>
    <tr>
      <% if d.item %>
      <td><%= externalIcon(d.item) %></td>
      <td><%= link_to d.item.name, :controller => "items", :action => 'show' , :id => d.item.id %></td>
      <td><%= link_to d.character.name, :controller => "characters", :action => "show", :id => d.character.id %>
      <td><%= if d.raid_event 
                  d.raid_event.event.name 
              end
                  %></td>
      <% else %>
      <td><%= "Error: Missing item!\n" + debug(d)%>
      <% end %>
	</tr>
	<% end %>
</table>

